package com.mapper;

import com.entity.Menu;
import com.entity.User;
import com.vo.UserMenuVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface UserMapper {

    //查询User的时候将Address也查询出来
    User selectById(Long id);


    List<User> selectAll();

    List<User> selectAllSub();

    User selectByIdSub(Long id);

}
